//
//  BinaryTreeNode.h
//  Test
//
//  Created by aReu on 2017/3/20.
//  Copyright © 2017年 CBswift. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TreeNode : NSObject

@property (nonatomic, assign) NSInteger value;

@property (nonatomic, retain) TreeNode *leftNode;

@property (nonatomic, retain) TreeNode *rightNode;

+ (TreeNode *)returnTreeNode:(NSArray<NSString*>*)arr;

+ (TreeNode *)treeNodeAtIndex:(NSInteger)index inTree:(TreeNode *)rootNode;
@end

